import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SocialCheckComponent } from './check/check.component';
import { SocialDetailComponent } from './detail/detail.component';
import { EnclosureComponent } from './enclosure/enclosure.component';
const routes: Routes = [
  {
    path: "check",
    component: SocialCheckComponent
  },
  {
    path: "enclosure",
    component: EnclosureComponent
  },
  {
    path: ":index/detail/:operate",
    component: SocialDetailComponent
  },
  {
    path: ":index/detail/:operate/:nFundNo",
    component: SocialDetailComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SocialRoutingModule { }
